package com.xxh.kfc.dao;

import com.xxh.kfc.entity.Orders;

import java.util.List;

public interface OrdersDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Orders record);

    int insertSelective(Orders record);

    Orders selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Orders record);

    int updateByPrimaryKey(Orders record);

    //根据用户ID获取订单信息
    List<Orders>getOrderByUid(Integer uid);
}